package com.cd.learn.cdlearn.pattern.flyweight;

/**
 * @ClassName AbstractBox
 * @Description 方块抽象类
 * @Author seven
 * @Date 2021/7/422:52
 * @Version 1.0
 **/
public abstract class AbstractBox {


    abstract String getShope();

    public void display(String color){
        System.out.println("this box shope is "+getShope()+",color is "+color);
    }

}
